package org.celery.modules.ticket.mapper;

import org.celery.modules.ticket.entity.Ticket;
import org.celery.modules.ticket.vo.TicketVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * 订单表 Mapper 接口
 *
 * @author Celery
 * @since 2023-06-12
 */
public interface TicketMapper extends BaseMapper<Ticket> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param ticket
	 * @return
	 */
	List<TicketVO> selectTicketPage(IPage page, TicketVO ticket);

}
